package com.weixing.mall.provider.api.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.base.constant.DatePattern;
import com.weixing.mall.base.enums.WhetherEnum;
import lombok.Data;

import java.util.Date;

/**
 * @Author: kfc
 * @Description: <br/>
 * Date:Create in 2019/7/25 16:26
 * @Modified By:
 */
@Data
public class SysUserAuthVo {
    private Long id;
    private String loginName;
    private String realName;
    private String mobile;
    private Long deptId;
    private String loginPwd;
    private Integer isEnable;
    private Long createdBy;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date createdTime;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date lastLoginTime;
    private String lastLoginIp;
    private String dept;
    private String roles;
    private WhetherEnum isPwdChanged;

    private Integer dataGroup;
}
